package com.coderman.business.mapper;

import com.coderman.common.model.business.ProductStock;
import com.coderman.common.vo.business.ProductStockVO;
import com.coderman.common.vo.business.ProductVO;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author zhangyukang
 * @version 1.0
 * @since 2020/3/21 19:38
 **/
public interface ProductStockMapper extends Mapper<ProductStock> {

	/**
	 * 库存列表
	 * @param productVO
	 * @return
	 */
	List<ProductStockVO> findProductStocks(ProductVO productVO);

	/**
	 * 库存信息(饼图使用)
	 * @return
	 */
	List<ProductStockVO> findAllStocks(ProductVO productVO);

}
